<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <head>

    </head>
    <body>
        <ui:composition xmlns:c="http://java.sun.com/jstl/core"  template="/MenuTemplate_wave.xhtml">
            <ui:define name="content_nav">
                #{msg.content_nav_costmanage}
            </ui:define>
            <ui:define name="content">
                <h:panelGrid  styleClass="body_content_box" columns="1">
                    <h:form>
                        <h:panelGrid styleClass="search_border" columns="1" cellpadding="0" cellspacing="0">
                            <h:panelGrid styleClass="search_title" columns="1" cellpadding="0"
                                         cellspacing="2">
                                <h:outputLabel value="#{msg.content_title_order_detail}"  style="vertical-align: middle"/>
                            </h:panelGrid>
                            <h:panelGrid  styleClass="panelGrid_bottom_line" columns="3" cellspacing="5" style="width:100%;text-align: left" >
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel  value="#{msg.label_order_code}" styleClass="com_label_blue" ></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.orderCode}" style="width:100%;text-align: left" ></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_250">
                                    <h:outputLabel value="#{msg.label_order_pro}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.displayOrderPro}" style="width:100%;text-align: left"></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_order_desc}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.orderDesc}" style="width:100%;text-align: left"></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_project_code}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.projectCode}" style="width:100%;text-align: left"></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_250">
                                    <h:outputLabel value="#{msg.label_contact_code}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.contactCode}" style="width:100%;text-align: left" ></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_enterprise_name}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.enterpriseInfo.enterpriseName}" style="width:100%;text-align: left"></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_task_code}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.taskCode}" ></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_250">
                                    <h:outputLabel value="#{msg.label_task_name}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.taskName}" ></h:outputText>
                                </h:panelGrid>
                            </h:panelGrid>
                            <h:panelGrid styleClass="panelGrid_bottom_line" columns="3" cellspacing="5" style="width:100%;text-align: left">
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_order_status}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.displayOrderStatus}" style="width:100%;text-align: left"></h:outputText>
                                </h:panelGrid>
                                <h:outputLabel/>
                                <h:outputLabel/>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_order_value}" styleClass="com_label_blue" ></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.orderValue}" ></h:outputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_250">
                                    <h:outputLabel value="#{msg.label_audited_value}" styleClass="com_label_blue" ></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.auditedValue}" rendered="#{orderListBean.currentOpertion == 0}"></h:outputText>
                                    <h:inputText value="#{orderListBean.selectedOrderInfo.auditedValue}" rendered="#{orderListBean.currentOpertion == 1}"></h:inputText>
                                </h:panelGrid>
                                <h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0" columnClasses="com_width_75,com_width_200">
                                    <h:outputLabel value="#{msg.label_pay_value}" styleClass="com_label_blue"></h:outputLabel>
                                    <h:outputText value="#{orderListBean.selectedOrderInfo.payValue}" ></h:outputText>
                                </h:panelGrid>
                            </h:panelGrid>
                            <h:panelGrid styleClass="panelGrid_bottom_line" columns="3" cellspacing="5" style="width:100%;text-align: left">
                                <h:panelGrid columns="3">
                                    <h:commandButton value="#{msg.bt_return}" action="#{orderListBean.toLastPage}"></h:commandButton>
                                    <h:commandButton value="#{msg.bt_modify}" action="#{orderListBean.saveOrderDetail}" rendered="#{orderListBean.currentOpertion == 1}"></h:commandButton>
                                    <h:commandButton value="#{msg.bt_invoice_detail}" action="#{orderListBean.invoiceDetail}" ></h:commandButton>
                                </h:panelGrid>
                                <h:outputLabel />
                                <h:outputLabel />
                            </h:panelGrid>
                        </h:panelGrid>
                    </h:form>
                </h:panelGrid>

            </ui:define>
        </ui:composition>
    </body>
</html>